#! /usr/bin/env python
# -*- coding:utf-8 -*-
# author:无涯

import  time
from  locust import  HttpUser,task,between

class QuickStartUser(HttpUser):
   host = 'http://101.43.158.84:5000'
   min_wait = 3000
   max_wait = 6000

   @task
   def login(self):
      r=self.client.get('/login')
      assert r.status_code==200